
package adventure_game;

/**
 * Show the valid commands
 * @author Frank, Morten B, Ronni
 */
public enum CommandWord
{    
    GO("go"), QUIT("quit"), HELP("help"), LOOK("look"), TAKE("take"), DROP("drop"), IVENTORY("inventory"), UNKNOWN("?");

    /**
    * The command string.
    */
    private String commandString;
    CommandWord(String commandString)
    {
        this.commandString = commandString;
    }

    /**
    * Return the word as a String.
    */
    public String toString()
    {
        return commandString;
    }
}
